<!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <link rel="stylesheet" type="text/css" href="__CSS__/main.css" />
    <link rel="stylesheet" type="text/css" href="__CSS__/common.css" />
    <link rel="stylesheet" type="text/css" href="__CSS__/bootstrap.min.css" />
    <script type="text/javascript" src="__EXTEND__/lib/jquery/1.9.1/jquery.min.js"></script>
    <script type="text/javascript" src="__EXTEND__/js/bootstrap.min.js"></script>
    <script type="text/javascript" src="__EXTEND__/lib/layer/2.4/layer.js"></script>
    <![endif]-->
    <title></title>
</head>
<body>
<div class="contant">
<div class="row">
        <div class="top">首页>上牌地添加</div>
        <div class="content">
        <form class="form-horizontal" method="post">
            <div class="box">
                <h1>添加<span>(标*为必填项)</span></h1>
                <div class="list-block">
                    <input type="hidden" name="id" value={$info.id}>
                    <div class="form-group">
                        <label for="inputEmail3" class="col-sm-2 control-label">上牌地</label>
                        <div class="col-sm-10">
                          <input name="address_name" type="text" class="form-control" id="inputEmail3" value={$info.address_name}>
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="bank" class="col-sm-2 control-label">银行</label>
                        <div class="col-sm-10">
                            <select id="bank" name="bank_id" class="form-control">
                            <foreach name="_bankList" item="ss" >
                                <if condition="$ss.id eq $info['bank_id']">
                                    <option value={$ss.id} selected>{$ss.bank_name}</option>
                                <else />
                                    <option value={$ss.id}>{$ss.bank_name}</option>
                                </if>
                            </foreach>
                            </select>
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="department" class="col-sm-2 control-label">部门</label>
                        <div class="col-sm-10">
                            <select id="department" name="group_id" class="form-control">
                            <foreach name="_departList" item="ss" >
                                <if condition="$ss.id eq $info['group_id']">
                                    <option value={$ss.id} selected>{$ss.name}</option>
                                <else />
                                    <option value={$ss.id}>{$ss.name}</option>
                                </if>
                            </foreach>
                            </select>
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="is-province" class="col-sm-2 control-label">是否省外</label>
                        <div class="col-sm-10">
                            <select id="is-province" name="is_province" class="form-control">
                                <option value=0 {$info['is_province']?'':'selected'}>省外</option>
                                <option value=1 {$info['is_province']?'selected':''}>省内</option>
                            </select>
                        </div>
                    </div>
                    <!-- 状态设置 -->
                    <div class="form-group">
                        <label for="is-province" class="col-sm-2 control-label">状态设置</label>
                        <div class="col-sm-10">
                            <select id="is-province" name="status" class="form-control">
                                <option value=0 {$info['status']?'':'selected'}>启用</option>
                                <option value=4 {$info['status']?'selected':''}>禁用</option>
                            </select>
                        </div>
                    </div>
                </div>

                <h1>操作</h1>
                <div class="list-block">
                    <input type="submit" class="button01" value="提交">
                    <input type="reset" class="button01" value="重置">
                </div>
            </div>
        </form>
        </div>
    </div>
</div>
</body>
</html>